package com.ssy.lingxi.product.repository.commodity;

import com.ssy.lingxi.product.entity.commodity.CommodityAttribute;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * 货品持久化层
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/22
 */
public interface CommodityAttributeRepository extends JpaRepository<CommodityAttribute,Long>, JpaSpecificationExecutor<CommodityAttribute> {
    List<CommodityAttribute> findByCustomerAttributeId(Long commodityAttributeId);
}
